package project_temple.utilityserver;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author STARTHERE
 */
public abstract class AbstractWeatherReader implements IWeatherReader
{
        protected WeatherModel wm;
        protected String location;

        public AbstractWeatherReader(String location)
        {
                this.location = location;
        }

        public abstract void process();

        public void setLocation(String location)
        {
                this.location = location;
        }

        public String getLocation()
        {
                return this.location;
        }

        public void setWeatherModel(WeatherModel wm)
        {
                this.wm = wm;
        }

        public WeatherModel getWeatherModel()
        {
                return this.wm;
        }

}